home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / amos / AMOSList-0998.lzh / AMOSLIST / 000396_bounce-amos-lis…et@onelist.com_Wed Sep 30 05:38:04 1998.msg < prev    next >
Text File  |  1998-10-01  |  3KB  |  63 lines

  1. >From bounce-amos-list--1278-mcox=access.digex.net@onelist.com  Wed Sep 30 05:38:04 1998
  2. Received: from onelist.com (pop.onelist.com [209.207.135.253])
  3.     by pony-2.mail.digex.net (8.8.8/8.8.8) with SMTP id FAA08227
  4.     for <mcox@access.digex.net>; Wed, 30 Sep 1998 05:38:04 -0400 (EDT)
  5. Received: (qmail 23552 invoked by alias); 30 Sep 1998 09:35:00 -0000
  6. Received: (qmail 23282 invoked from network); 30 Sep 1998 09:34:42 -0000
  7. Received: from unknown (HELO SOLAIR.EUnet.yu) (194.247.192.52) by pop.onelist.com with SMTP; 30 Sep 1998 09:34:42 -0000
  8. Received: from eunet.yu (eunet@P-199.204.EUnet.yu [194.247.199.204]) by SOLAIR.EUnet.yu (8.9.0/8.9.0) with SMTP id LAA14245 for <amos-list@onelist.com>; Wed, 30 Sep 1998 11:37:08 +0200 (MET DST)
  9. From: Nikola Smolenski <smolensk@EUnet.yu>
  10. To: amos-list@onelist.com
  11. Date: Tue, 29 Sep 1998 08:19:12 +0200
  12. Message-ID: <yam7576.606.3293552@relay.eunet.yu>
  13. In-Reply-To: <yam7575.2369.1197348352@mail.enterprise.net>
  14. X-Mailer: YAM 2.0 Preview5 - Amiga Mailer by Marcel Beck - http://www.yam.ch
  15. Organization: Jadni student ETF-a :(
  16. Mailing-List: list amos-list@onelist.com; contact http://www.onelist.com
  17. Delivered-To: mailing list amos-list@onelist.com
  18. Precedence: bulk
  19. Reply-to: amos-list@onelist.com
  20. Mime-Version: 1.0
  21. Content-Type: text/plain
  22. Subject: [amos-list] Re: Dim array() problem.
  23. Status: O
  24. X-Status: 
  25.  
  26. From: Nikola Smolenski <smolensk@EUnet.yu>
  27.  
  28. On 29-Sep-98, Andrew Crowe wrote:
  29.  
  30. AC>> it. Much to my surprise, it didn't get past the first few instructions
  31. AC> (it
  32. AC>> returned an "Illegal function call"). I went back, did some debugging
  33. AC> and
  34. AC>> found it was a Dim statement I had made to an array. Here's an
  35. AC> excerpt:
  36.  
  37. AC>> Set Buffer 1024..
  38. AC>> Dim _VAR(G*5,G*5) (G=64)
  39.  
  40. AC> Ah yes, I had this problem too. It seems that AMOS doesn't like dim'ing
  41. AC> anything with over a certain ammount of arays. The only way to get
  42. AC> around this is using a memory bank insted.
  43.  
  44. AC>   eg. Reserve as work 5,(G*5)*(G*5)+10
  45.  
  46. AC> This'll save memory and speed. 
  47.  
  48. You could also use Tools extension which has commands for 'dimensioning' of
  49. memory banks and commands for getting/setting byte X,Y in memory bank.
  50.  
  51. Regards
  52. -- 
  53.      _  _         _  _          __ __   I> Nikola Smolenski
  54.  :_ :_ :_::-   : : ::_) _:  //  \_V 7   I> smolensk@eunet.yu
  55.  !_)!_,! !!_,  !,!_!! \(_! // !\!\_7!Y! I> http://solair.eunet.yu/~smolensk
  56.                                         I> Proud member of Team AMIGA
  57.  
  58.  
  59.  
  60. ------------------------------------------------------------------------
  61. Help support ONElist, while generating interest in your product or
  62. service. ONElist has a variety of advertising packages. Visit
  63. http://www.onelist.com/advert.html for more information.